package com.example.administrator.stargo.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.example.administrator.stargo.BaseActivity;
import com.example.administrator.stargo.R;
import com.example.administrator.stargo.api.HttpCallBack;
import com.example.administrator.stargo.view.StatusBarUtil;

import butterknife.BindView;
import butterknife.OnClick;

public class Main3Activity extends BaseActivity implements HttpCallBack{
    @BindView(R.id.tv_3)
    TextView tv_3;

    @Override
    protected int getLayoutId() {
        StatusBarUtil.setColor(Main3Activity.this,getResources().getColor(R.color.colorAccent));
        return R.layout.activity_main3;
    }

    @OnClick({R.id.tv_3})
    public void onClick(View view){
        switch (view.getId()){
            case R.id.tv_3:
                Intent intent = new Intent(Main3Activity.this,Main4Activity.class);
                startActivity(intent);
                break;
        }
    }

    @Override
    public void onSuccess(int action, String res) {

    }

    @Override
    public void showLoadingDialog() {

    }

    @Override
    public void showErrorMessage(String s) {

    }
}
